from main import dianji_off, dianji_begain


def control_blue(command,para):
    if command=="kaifengshan":
        if para=="on":
            dianji_begain(600)
        elif para=="off":
            dianji_off()
    elif command=="tiaojiefengsu":
        if para=="2":
            dianji_begain(600)
        elif para=="3":
            dianji_begain(800)
        elif para=="4":
            dianji_begain(1000)
